﻿using System; 
using System.Text;
using System.Collections.Generic; 
using System.Data;
namespace RBS.Core.Model{
	 	//加菜字段。
   
	public class D_Order_Details
	{     
      	/// <summary>
		/// Id
        /// </summary>		 
        public int Id  {get;set;}        
		/// <summary>
		/// 订单Id
        /// </summary>		 
        public int OrderId  {get;set;}        
		/// <summary>
		/// 菜名Id
        /// </summary>		 
        public int HCId  {get;set;}        
		/// <summary>
		/// 菜名
        /// </summary>		 
        public string CName  {get;set;}        
		/// <summary>
		/// Num
        /// </summary>		 
        public int Num  {get;set;}        
		/// <summary>
		/// Price
        /// </summary>		 
        public decimal Price  {get;set;}        
		/// <summary>
		/// 优惠价格
        /// </summary>		 
        public decimal DisAmount  {get;set;}        
		/// <summary>
		/// 是否客人点菜
        /// </summary>		 
        public int IsGuest  {get;set;}        
		/// <summary>
		/// UId
        /// </summary>		 
        public int UId  {get;set;}        
		/// <summary>
		/// 状态：正常消费、取消
        /// </summary>		 
        public int State  {get;set;}

        public DateTime OperateDate { get; set; }

        public decimal Weight { get; set; } 
        

	    public override bool Equals(object obj)
        { 
            RBS.Core.Model.D_Order_Details entity = (obj as RBS.Core.Model.D_Order_Details); 
            if (entity != null)
            {

                if (entity.HCId.Equals(this.HCId)) 
                    return true; 
            } 
            return false; 
        }
		   
	}


}

